package com.waiting.collection;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @Description
 * @Author bjweitingting
 * @Date 2019/2/21
 **/
public class ConcurrentHashMapTest {
    private static ConcurrentHashMap<String, Integer> concurrentHashMap = new ConcurrentHashMap<>();

    public static void main(String[] args) {
        concurrentHashMap.put("test", 10);
        System.out.println(concurrentHashMap.get("test"));
        System.out.println(concurrentHashMap.put(null,100));
    }
}
